package cn.bdqn.hospital.dao.impl;

import cn.bdqn.hospital.dao.TheOrderDao;
import cn.bdqn.hospital.entity.TheOrder;

import java.sql.SQLException;
import java.util.List;

/**
 * 订单详情表dao层实现类
 */
public class TheOrderDaoImp implements TheOrderDao {
    /**
     * 新增订单详情表
     *
     * @param theOrder
     * @return
     * @throws SQLException
     */
    @Override
    public int add(TheOrder theOrder) throws SQLException {
        return 0;
    }

    /**
     * 修改订单详情
     *
     * @param theOrder
     * @return
     * @throws SQLException
     */
    @Override
    public int update(TheOrder theOrder) throws SQLException {
        return 0;
    }

    /**
     * 通过订单详情id删除订单详情
     *
     * @param ddId
     * @return
     * @throws SQLException
     */
    @Override
    public int delete(Integer ddId) throws SQLException {
        return 0;
    }

    /**
     * 查询所有订单详情
     *
     * @return
     * @throws SQLException
     */
    @Override
    public List<TheOrder> getAll() throws SQLException {
        return null;
    }

    /**
     * 通过医生id查询订单详情
     *
     * @param ygId
     * @return
     * @throws SQLException
     */
    @Override
    public List<TheOrder> getTheOrderByYgId(Integer ygId) throws SQLException {
        return null;
    }

    /**
     * 通过患者id查询订单详情
     *
     * @param hzId
     * @return
     * @throws SQLException
     */
    @Override
    public List<TheOrder> getTheOrderByHzId(Integer hzId) throws SQLException {
        return null;
    }

    /**
     * 通过订单总表id查询下面的所有详情订单
     *
     * @param ddzId
     * @return
     * @throws SQLException
     */
    @Override
    public List<TheOrder> getTheOrderByDdzId(Integer ddzId) throws SQLException {
        return null;
    }

    /**
     * 通过详情订单的id查询订单
     *
     * @param ddId
     * @return
     * @throws SQLException
     */
    @Override
    public TheOrder getTheOrderInfoByddid(Integer ddId) throws SQLException {
        return null;
    }
}
